.x-goodsItem {
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #dddddd;
    background-color: #fff;

    &:last-child {
        border-bottom: 0;
    }

    .x-goodsItem-img {
        width: 220px;
        height: 220px;
        position: relative;
        background-color: #F5F5F5;

        .x-goodsItem-img-container {
            width: 200px;
            height: 200px;
            top: 10px;
            left: 10px;
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;
            position: absolute;
        }

        .x-goodsItem-soldOut {
            position: absolute;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(255, 255, 255, 0.5);
            padding: 50px;
            padding-top: 60px;
            box-sizing: border-box;

            div {
                width: 110px;
                height: 110px;
                background-color: rgba(0, 0, 0, 0.7);
                border-radius: 100px;
                line-height: 110px;
                text-align: center;
                color: #fff;
                font-size: 35px;
                margin: 0 auto;
            }
        }

        .x-goodsItem-newer {
            position: absolute;
            width: 100px;
            height: 32px;
            background: linear-gradient(270deg, rgba(66, 109, 255, 1) 0%, rgba(24, 55, 255, 1) 100%);
            border-radius: 2px;
            font-size: 22px;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            text-align: center;
            line-height: 32px;
            left: -10px;
            top: 10px;
        }
    }

    .x-goodsItem-info {
        width: 450px;
        padding: 10px 0;
        box-sizing: border-box;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: space-between;

        .x-goodsItem-info-name {
            font-size: 32px;
            font-family: PingFangSC-Semibold;
            font-weight: 600;
            color: rgba(34, 33, 45, 1);
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
            overflow: hidden;
            height: 75px;
            line-height: 1.2;
            width: 412px;
        }

        .x-goodsItem-info-bottom {
            .x-goodsItem-info-price {
                font-size: 34px;
                font-family: PingFangSC-Semibold;
                font-weight: 600;
                color: rgba(248, 101, 53, 1);
                line-height: 48px;
                display: flex;
                align-items: center;

                .x-goodsItem-info-price-seckill {
                    width: 56px;
                    height: 32px;
                    background: #ff531b;
                    border-radius: 2px;
                    display: inline-block;
                    font-size: 22px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: #fff;
                    line-height: 32px;
                    text-align: center;
                    margin-right: 5px;
                }

                .x-goodsItem-info-price-recommendPrice {
                    font-size: 24px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(168, 167, 177, 1);
                    line-height: 33px;
                    text-decoration: line-through;
                }
            }

            .x-goodsItem-info-stock {
                width: 240px;
                height: 30px;
                border-radius: 17px;
                border: 1px solid rgba(248, 101, 53, 1);
                margin-top: 12px;
                box-sizing: border-box;
                overflow: hidden;
                position: relative;

                .x-goodsItem-info-stockBg {
                    position: absolute;
                    left: 0;
                    top: 0;
                    background-color: rgba(248, 101, 53, 0.1);
                    width: 0;
                    height: 30px;
                }

                .x-goodsItem-info-stockValue {
                    font-size: 22px;
                    font-family: PingFangSC-Regular;
                    font-weight: 400;
                    color: rgba(248, 101, 53, 1);
                    position: absolute;
                    left: 50%;
                    top: 50%;
                    transform: translate(-50%, -50%);
                }
            }

            .x-goodsItem-info-soldNum {
                font-size: 22px;
                font-family: PingFangSC-Regular;
                font-weight: 400;
                color: rgba(168, 167, 177, 1);
                margin-top: 10px;
            }
        }

        .x-goodsItem-buy {
            position: absolute;
            bottom: 10px;
            right: 0;
            width: 120px;
            height: 60px;
            background: rgba(30, 31, 38, 1);
            border-radius: 30px;
            color: #fff;
            box-sizing: border-box;
            font-size: 28px;
            font-family: PingFangSC-Regular;
            font-weight: 400;
            color: rgba(255, 255, 255, 1);
            outline: none;
            padding: 8px 0;

            &.x-goodsItem-seckillSoldOut {
                border: 2px solid rgba(30, 31, 38, 1);
                color: rgba(30, 31, 38, 1);
                background-color: #fff;
            }
    
            &.x-goodsItem-orderStateGray{
                background:rgba(188,188,191,1);
                color: #fff;
            }
        }
    }
}